﻿using Newtonsoft.Json;
using System;

namespace synoexec.synologylib.DataType
{
    public class BackupTaskList
    {
        [JsonProperty("has_devices")]
        public bool HasDevices { get; set; }
        [JsonProperty("has_dsm_agent")]
        public bool HasDsmAgent { get; set; }
        [JsonProperty("has_hyperv_inventories")]
        public bool HasHyperVInventories { get; set; }
        [JsonProperty("has_linux_agent")]
        public bool HasLinuxAgent { get; set; }
        [JsonProperty("has_mac_agent")]
        public bool HasMacAgent { get; set; }
        [JsonProperty("has_vmware_inventories")]
        public bool HasVmwareInventories { get; set; }
        [JsonProperty("has_windows_agent")]
        public bool HasWindowsAgent { get; set; }
        [JsonProperty("tasks")]
        public BackupTaskInfo[] Tasks { get; set; }
        [JsonProperty("total")]
        public int Total { get; set; }
    }
}
